<template>
    <div class="inner-content list-content">
       <div class='title'>
          待确认空桶（{{tableData.length}}条待处理）
       </div>
      <div v-if='tableData.length'>
          <el-row>
                <order v-for = "order in tableData"
                :newOrder = 'order'
                :isEmptyBarry = 'isEmptyBarry'
                class="order"
                :time='order.receiveTime'
                @recevice='onReceiveOrder(order.orderWaterStoreId)'
                @reject='onRejectOrder(order.orderWaterStoreId)'
                ></order>
          </el-row>
          <div class="paging">
            <el-pagination
                 @current-change='handleCurrentChange'
                 :current-page.sync='page'
                 layout='prev, pager, next, jumper'
                 :total='total'
                 class='pagination'
                 v-show='total'>
             </el-pagination>
          </div>
      </div>
      <div v-else
          class='tips'>
          您没有待确认的空桶订单哦~
      </div>
    </div>
</template>

<script>
    import EmptyJs from './Empty.js';
    module.exports = EmptyJs;
</script>

<style scope lang='less'>
  @import url(Empty.less); 
</style>